<%@page import="java.util.UUID"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/pages/common/taglib.jsp" %>
<%
    String uuid = UUID.randomUUID().toString();
    request.setAttribute("uuid", uuid);
%>
<form id="searchDialog_${uuid}" style="display: none;" class="box-body form-float"></form>
<div class="row">
	<div id="gridBox_${uuid}" class="col-md-12">
		<div class="box-header">
			<h3 class="box-title">
              		
            </h3>
           	<div class="box-tools pull-right" id="toolBar_${uuid}">
           		
           	</div>
         </div>
         <div class="box-body">
         	<table id="grid_${uuid}" style="width: 100%"></table>
         </div>
	</div>
	<div id="script_${uuid}" style="display: none;">

	</div>
</div>
<script type="text/javascript">
$(function(){
	var code='${param.code}';
	var uuid = '${uuid}';
	var taskId='${param.taskId}';
	
	requirejs(['wiseMen/dataModel/QueryDefTpl'],function(QueryDefTpl){
		var queryDefTpl=new QueryDefTpl({
			code:"JOB_TASK_SCHEDULER_PARAM",
			searchBarType:"dialog",
			scriptDiv:"#script_"+uuid,//引用脚本的div
			searchDiv:"#searchDialog_"+uuid,//查询定义栏
			toolBarDiv:"#toolBar_"+uuid,//工具栏定义栏
			gridDiv:"#grid_"+uuid,//grid表格
			queryDatas:{
				TASKSCHEDULERID:taskId
			}
		});
	});
});
</script>